FROM java:8
VOLUME /tmp
ADD /target/*.jar /uum-gateway.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xmx64m","-jar","uum-gateway.jar"]
EXPOSE 10000
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone
